import Vue from 'vue'
import Router from 'vue-router'
import Login from '../../pages/Logo'
import NotFound from '../../pages/404'
import manageStyem from '../../pages/manageStyem'
import StaffEdit from '../components/staffManagement/staffEdit'
import customerManagement from '../components/customerManagement/customerManagement.vue'
import insertCompany from '../components/customerManagement/insertCompany.vue'

Vue.use(Router)

export default new Router({
  mode: 'history',
  routes: [
<<<<<<< HEAD
    // {
    //   path: '/',
    //   name: 'Login',
    //   redirect:'Login',
    //   component: Login
    // },
    /*{
=======
    {
      path: '/',
      name: 'Login',
      redirect:'Login',
      component: Login
    },
    {
>>>>>>> 126ef9a847acf76176823e76a5c3c98ee80c3430
      path: '/Login',
      name: 'Login',
      component: Login
    },
    {
      path: '/404',
      component: NotFound,
      name: 'NotFound'
    },
    // {
    //   path: '/',
    //   name: 'manageStyem',
    //   redirect:'manageStyem',
    //   component: manageStyem
    // },
    {
      path: '/manageStyem',
      component: manageStyem,
      name: 'manageStyem'
    },
    {
      path: '/StaffEdit',
      component: StaffEdit,
      name: 'StaffEdit'
    },
    {
      path      : "/customerManagement",
      component : customerManagement,
      name      : "customerManagement"
    },*/
    {
      path     : '*',
      redirect : '404'
    },
    {
      path      : "/insertCompany",
      component : insertCompany,
      name      : "insertCompany"
    }
  ]
})
